package com.roncoo.education.user.common.resq;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.roncoo.education.user.service.dao.impl.mapper.entity.User;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
public class UserTagPageRESQ implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

	/**
	 * 标签名称
	 */
	@ApiModelProperty(value = "标签名称")
	private String tagName;

	/**
	 * 状态
	 */
	@ApiModelProperty(value = "状态")
	private Integer statusId;

	/**
	 * 用户数
	 */
	@ApiModelProperty(value = "用户数")
	private Integer userCount;

	@ApiModelProperty("用户数组，待完成")
	private List<User> users;
}
